<style type="text/css">
</style>
<script type="text/javascript" src="${base}/scripts/jggl/jgdcontent.js"></script>
<form id="jgdglForm" method="post" class="easyui-tabs" fit="true">
    <input name="jgd.id" type="hidden" value="${(jgd.id)!''}"/>

    <div title="加工单信息" style="height: 100%;overflow-y: auto">
        <table style="width: 100%" class="tb tab-t t-bor">
            <col width="90px"/>
            <col width=""/>
            <col width="90px"/>
            <col width=""/>
            <tr>
                <th>加工单号：</th>
                <td> ${(jgd.jgdh)!} </td>
                <th>申请公司：</th>
                <td>${(jgd.sqgs.qc)!} </td>
            </tr>
            <tr>
                <th>申报公司：</th>
                <td>${(jgd.sbgs.qc)!}</td>
                <th>申报人：</th>
                <td>${(jgd.sbr.xm)!}</td>
            </tr>

            <tr>
                <th>申报日期：</th>
                <td>${(jgd.sbrq?datetime)!}</td>
                <th>状态：</th>
                <td><#if jgd.zt??>
                    <#if jgd.zt == 0>
                        已保存
                    </#if>
                    <#if  jgd.zt == 1>已提交</#if>
                    <#if jgd.zt == 2>已完结</#if>
                </#if>
                </td>
            </tr>
            <tr>
                <th>加工日期：</th>
                <td>${(jgd.jgrq?datetime)!}</td>
                <th>加工调出重量：</th>
                <td> ${(jgd.jgzl)!}</td>
            </tr>
            <tr>
                <th>加工调入重量：</th>
                <td>${(jgd.jghzl)!}</td>
                <th style="color:#f45212;">预期成材料率：</th>
                <td>
                    <input name="jgd.rate" id="jgd_rate_id" maxlength="4" style="width:20%" type="text"
                           class="easyui-numberbox input-text" data-options="min:0,max:100.01,precision:1"
                           required="true" missingMessage="预期成材料率不能为空，且0到100！"
                           value="${(jgd.rate)!}" onkeyup="clearNoNum(this)"/> %&nbsp;&nbsp;（精确到小数点后1位）
                </td>
            </tr>
            <tr>
                <th>备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：</th>
                <td colspan="3">
                    <textarea name="jgd.bz" id="jgd_bz_id" rows="4" cols="45" class="textarea"
                              style="width: 91%">${(jgd.bz)!}</textarea>
                </td>
            </tr>
        </table>
    </div>
    <div title="加工单明细">
        <table id="jgd_mx">
        </table>
    </div>
    <div title="预期成材明细">
        <div id="yqcc_mx_toolbar">
            <div class="PTools">
                <ul class="niu">
                    <li><a name="xzyqccmx" href="javascript:void(0);" plain="true">新增</a></li>
                    <li><a name="xzyqccyh" href="javascript:void(0);" plain="true">新增一行</a></li>
                    <li><a name="xzyqccwh" href="javascript:void(0);" plain="true">新增五行</a></li>
                    <li><a name="xzyqccsh" href="javascript:void(0);" plain="true">新增十行</a></li>
                    <li><a name="scyqccmx" href="javascript:void(0);" class="del" plain="true">删除</a></li>
                </ul>
            </div>
        </div>
        <table id="yqcc_mx_edatagrid">
        </table>
    </div>
</form>